gsk: add a has_color boolean to text nodes
authorMatthias Clasen <mclasen@redhat.com>
Sat, 2 Sep 2017 15:06:20 +0000 (11:06 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 2 Sep 2017 15:09:03 +0000 (11:09 -0400)
commit440e5340539e1e58bc0633716ac09355adf54332
tree68aabd7082f0f9c4b518f967ae221a506f0c66e3
parent18adda6eb051526529c9b884f724b7f9f9039935
gsk: add a has_color boolean to text nodes

Currently, this information is not used since cairo_show_glyphs
deals with color glyphs for us. But when we get to uploading
glyphs to a texture atlas, we will need it to do the right thing.

We don't look at individual glyphs here, but just whether the
font has the has-color flag set. In practice, all glyphs in
such a font will be color glyphs, and we can avoid loading all
the glyphs this way.
gsk/gskrendernodeimpl.c